package com.sharding.demo.mapper;

import com.sharding.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    void delete(Long id);

    int update(User user);

    List<User> findAll();

    void save(User user);
}
